package com.yangtzeu.jwc.domain;

import java.util.Map;

/**
 * 学生
 *
 * @author ZhangDI
 */
public class Student implements java.io.Serializable {

    private static final long serialVersionUID = 1L;
    private Integer id;
    private String sno;
    private String sname;
    private String ssex;
    private String spassword;
    private String sjid;
    private String sclass;
    private String sphoto;
    public String type = "login";

    public Student() {
    }

    public Student(String sno, String sname) {
        this.sno = sno;
        this.sname = sname;
    }

    public Student(String sno, String sname, String ssex, String spassword,
                   String sjid, String sclass, String sphoto) {
        this.sno = sno;
        this.sname = sname;
        this.ssex = ssex;
        this.spassword = spassword;
        this.sjid = sjid;
        this.sclass = sclass;
        this.sphoto = sphoto;
    }

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSno() {
        return this.sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getSname() {
        return this.sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getSsex() {
        return this.ssex;
    }

    public void setSsex(String ssex) {
        this.ssex = ssex;
    }

    public String getSpassword() {
        return this.spassword;
    }

    public void setSpassword(String spassword) {
        this.spassword = spassword;
    }

    public String getSjid() {
        return this.sjid;
    }

    public void setSjid(String sjid) {
        this.sjid = sjid;
    }

    public String getSclass() {
        return this.sclass;
    }

    public void setSclass(String sclass) {
        this.sclass = sclass;
    }

    public String getSphoto() {
        return this.sphoto;
    }

    public void setSphoto(String sphoto) {
        this.sphoto = sphoto;
    }

    @Override
    public String toString() {
        return "Student [id=" + id + ", sno=" + sno + ", sname=" + sname
                + ", ssex=" + ssex + ", spassword=" + spassword + ", sjid="
                + sjid + ", sclass=" + sclass + ", sphoto=" + sphoto
                + "]";
    }

}